/*
Theme Name: Seguridad V2
Description: A version of the Seguridad theme based off of the Polaroid theme.
Version: 2.0
Author: Caleb Bell
Author Email: antikathistemi@gmail.com
*/


/* Theme Settings
--------------------*/
  /* Primary Color */
  table.table-list tbody tr td a,
  .hover .r_details h3 a.r_title,
  div.footermenu ul li a { color: #d24836; }
  div.search-form input.text:focus { border-color: #d24836; }
  
  /* Lighter Primary Color - for hover effects */
  div#loggedin_user_action a, div#loggedin_user_action a:visited { color:#d25e4f; }
  div.submit-incident a:hover, .btn_submit:hover,
  div.search-form input.searchbtn,
  div#mainmenu ul li a:hover,
  div#mainmenu a.active { background-color:#d25e4f; }
  
  /* Accent Color: Green */
  h1 { color:#467926; }
  
  div.content-block h5,
  div.submit-incident a, .btn_submit,
  div.filters ul li a:hover, div.filters ul li a.active,
  .left-col h1.report-title,
  div.report-additional-reports h4,
  ul.category-filters li a:hover, ul.category-filters li a.active { background-color:#467926; }
    /* hover */
    div.submit-incident a:hover, .btn_submit:hover { background-color:#528237; }
    
  /* Site Width */
  div.rapidxwpr,
  #top-bar { width:80%; }

/* general styles */
h1 { }
h2 { }
h5, h4 { }


/* structural divs */
html { background:#728c99 url(../images/bg-body.jpg) repeat; }
body#page { background:transparent url(../images/bg-header.jpg) 0 -9px repeat-x; }
div#middle { background:transparent; position:relative; }

.big-block {   }
.page-main #main { padding:0px 10px; }

/* top-bar */
#top-bar {
  overflow:auto;
  position: relative;
  margin:0 auto;
  z-index:1000;
}
div#searchbox {
  position: static;
  float:right;
  border: none;
  background:#3d3c3b;
  width: auto;
}
div#loggedin_user_action {
  float: left;
  width: auto;
}
div#loggedin_user_action a, div#loggedin_user_action a:visited {
  font-weight: bold;
  padding: 6px;
  margin-top: 2px;
  width: auto;
  display: block;
  float: left;
  color:#5396ff;
}
div.search-form input.text {
  border: 1px solid;
}
div.search-form input.text:focus {
  border: 1px solid;
}
div.search-form input.searchbtn {
  width: auto;
  height: auto;
  border: 0;
  text-indent: 0;
  color: #FFFFFF;
  display: block;
  font-size: 12px;
  background-image:none;
  background-color:#3764AA;
  margin-left: 10px;
  line-height: 17px;
  padding: 2px 5px 3px;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #424242;
}

/* header */
div#header { height:80px; margin:0 0 25px; top:-30px; }

/* logo box */
div#logo {
  background:transparent url(../images/logo.png) top left no-repeat; height:100px;
  float:none;
  padding: 0;
  margin: 0;
  position:relative;
}
div#logo h1 { display:none; }
div#logo span { position:absolute; margin-left:13px; bottom:-20px;  }

/* submit report button */
div.submit-incident { margin:0; top:70%; }
div.submit-incident a, .btn_submit {
  text-shadow: 1px 1px 0 #424242;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

/* primary nav */
div#mainmenu { border:none; position:relative;
  
  background: #f6941e; /* Old browsers */
  background: -moz-linear-gradient(top,  #f6941e 0%, #c97818 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6941e), color-stop(100%,#c97818)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #f6941e 0%,#c97818 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #f6941e 0%,#c97818 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #f6941e 0%,#c97818 100%); /* IE10+ */
  background: linear-gradient(top,  #f6941e 0%,#c97818 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6941e', endColorstr='#c97818',GradientType=0 ); /* IE6-9 */  
}
div#mainmenu ul { }
div#mainmenu ul li { margin:0 8px 0 0; }
div#mainmenu ul li a { padding:3px 5px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
div#mainmenu ul li a:hover, div#mainmenu a.active { background:#fff; color:#a24e3b; }

  #menu-left-cap,
  #menu-right-cap { position:absolute; z-index:10000; width:10px; height:14px; background:transparent url(../images/bg_main-menu-caps.png); bottom:-14px; }
  #menu-left-cap { left:0px; background-position:bottom;}
  #menu-right-cap { right:0px; }
/* filter box */
#report-map-filter-box { position:absolute; z-index:1000; width:100%; }

div#right { position:absolute; z-index:1000; }

.map-menu-box {
  position:absolute;
  overflow:auto;
  background:#f9f7f8;
  -moz-border-radius: 3px; -webkit-border-radius: 3px; 
  -moz-box-shadow:0px 1px 1.5px #424041; -webkit-box-shadow:0px 1px 1.5px #424041; box-shadow:0px 1px 1.5px #424041;
  filter: progid:DXImageTransform.Microsoft.Shadow(strength=1.5, direction=180, color='#424041');
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(strength=1.5, Direction=180, Color='#424041')";
}
#the-filters { 
  top:49px; left:59px;
  width:300px;
  
  display:none; }

#the-filters h3 { font-size:10px; color:#605f5d; text-transform:uppercase; margin-bottom:5px;; }
  
  /* type and category toggle button */
  #filter-menu-toggle { position:absolute; top:20px; left:58px; width:120px; }
  
  /* home page category filter */
  #report-category-filter { padding:5px; float:left; width:175px; }
  ul.category-filters { background:none; border:0; padding:0; }
  ul.category-filters li { display:block; list-style-type:none; overflow:auto; }
    ul.category-filters li li { clear:left; }
  ul.category-filters li a { font-size:10px; padding:2px 4px 2px 2px; -moz-border-radius: 3px; -webkit-border-radius: 3px; float:left; clear:right; border:0; margin:1px; }
  .swatch, .item-swatch { border-color:#f1f1f1; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
  ul.category-filters li a:hover, 
  ul.category-filters li a.active { background:none; border:1px solid #c2c2c2; color:inherit; margin:0; }
  
  /* home page report type filters */
  #report-type-filter { overflow:auto; padding:5px; margin:0; } 
  div.filters ul li { float:none; margin-bottom:2px; display:block; overflow:auto; }
  div.filters ul li a { color:#000; font-weight:bold; padding:3px 5px 2px; margin:1px; font-size:10px; display:block; float:left; }
  div.filters ul li a span { font-size:10px; }
  div.filters ul li a:hover, div.filters ul li a.active { -moz-border-radius: 3px; -webkit-border-radius: 3px; display:block; float:left; padding:3px 5px 2px; background:none; border:1px solid #c2c2c2; color:inherit; margin:0; }

  /* KML layers & Other Deployments */
  /*toggle buttons */
  #layers-menu-toggle { position:absolute; top:20px; left:220px; width:60px; }
  #other-deployments-menu-toggle { position:absolute; top:20px; left:322px; width:130px; }
  #how-to-report-menu-toggle { position:absolute; top:20px; right:50px; width:100px; }
  
  #kml_switch,
  #sharing_switch,
  #how-to-report-box { display:none; position:absolute; top:49px; padding:5px; left:220px; background:#f9f7f8; width:175px;}
  #sharing_switch { left:322px; }
  #how-to-report-box { left:724px; padding-top:10px; }
    #how-to-report-box ol { margin-left:22px; }
    #how-to-report-box ol li { margin-bottom:5px; }
    
  #page .olControlLayerSwitcher .maximizeDiv, #page .olControlLayerSwitcher .minimizeDiv { top:25px; }

/* home page map */
.page-main div#content { position:relative; }
div.map { width:auto; border:1px solid #fff; border-top:0; position:relative; height:530px; }
#mapStatus { width:auto; float:none; overflow:auto; border:1px solid #fff; }
  

/* home page timeline */
.page-main div.slider-holder,
.page-main div.graph-holder { background:#fff; display:block; width:auto; margin:0; padding:20px; }
.page-main div.graph-holder  { width:auto; padding:0; overflow-x:scroll; }

/* home page how to report */
div.additional-content { display:none; }

/* Home Page Twitter / Mainstream News blocks */
div.content-container { background:transparent; padding:10px; }

div.content-block { position:relative; margin:0 18px; background:#eeedea; }
div.content-block h5 { float:left; position:absolute; top:-18px; left:-18px; padding:5px; border:7px solid #fff; color:#fff; }
div.content-block h5 span { display:none; }
div.content-block .table-list { margin-top:18px; }
table.table-list thead th.date { width:20%; }


/* reports listing page */
#content .big-block { border:1px solid #fff; border-top:0; margin:0 10px; background:#EEEDEA; padding:18px; }
#reports-box { }
#rb_list-view .rb_report {
  background: #fff;
}

#reports-box { width:65% }
#filters-box { width:31%; }
.r_details { width:75%; }
.r_details h3 { width:68%; }
div.r_description { width:97%; }
.rb_nav-controls { height:auto; padding:5px; }

/* single report page */
div#main { padding:15px 10px; }
#main .left-col { background:#EEEDEA; position:relative; padding:35px 10px 10px; margin:4px 0 0 18px; width:525px; }


.left-col h1.report-title { float:left; position:absolute; top:-18px; left:-18px; padding:5px; border:7px solid #fff; color:#fff; }

.report_detail .r_verified { position:absolute; top:10px; right:18px;  }

div.report-additional-reports { background:#EEEDEA; position:relative; padding:35px 10px 10px; margin-left:18px; }
div.report-additional-reports h4 { position:absolute; float:left; top:-18px; left:-18px; padding:5px; border:7px solid #fff; color:#fff; }
div.report-additional-reports h5 { font-family: Arial, sans-serif;  }

/* reports page */
#main .left-col { width:55%; }
#main .right-col { width:38%; }
.report-media-box-content { width:100%; }
.report-additional-reports { width:89%; }
.report-map .map-holder { width:100%; }

/* submit report */
.report_left { width:55%; }
.report_right { width:40%; margin:0; float:left; }
.report_map { width:100%; }

/* get alerts page */
.step-1 h2 {
  padding: 0;
}
/* footer */
div#footer,
div#underfooter { background:transparent; }

div.footermenu ul li { color:#fff; }
div.footermenu ul li a {
  text-transform: uppercase;
  font-weight: bold;
  border-left: 1px solid #666;
  color:#f6b15f;
}
.additional-credits {
  margin-top: 18px;
}

/* adminmap tweaks */
  /* main menu on the fullscreen view */
  .big-map div#mainmenu { background:#ca7919 url(../images/bg_primary-nav.gif) top repeat-x; height:23px; }
  
  /* position the embed box properly on the home page */
  #adminmap_map_embedd { position:absolute; z-index:10000; bottom:261px; right:0; }
  div#adminmap_map_embedd input { width:100px; }
  
  /* align the "View Full Map" button properly inside the map filters box */
  .bigmaplinkbox { border-top:1px solid #a4a4a4; text-align:center; margin:5px 10px 0; padding:3px 0; }


  @media (max-width: 500px) {
    /* home page */
    ul.content-column li { float:none; }
    ul.content-column li div.content-block { margin-top:18px; } 
    
    /* reports listing */
    #reports-box,
    #filters-box { display:block; width:100%; margin:0; }
    
    /* report detail */
    #main .left-col,
    #main .right-col { display:block; width:100%; margin:18px 0 0 0; }
    
    /* submit report */
    .report_left, 
    .report_right { width:100%; float:none; }
  }

/* miscellaneous */
.floatbox { clear:both; }

/* button styles */
a.btn {
    cursor: pointer;
    display: inline-block;
    background-color: #e6e6e6;
    background-repeat: no-repeat;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
    background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
    background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
    background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
    background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
    padding: 5px 14px 6px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    color: #333;
    font-size: 13px;
    line-height: normal;
    border: 1px solid #ccc;
    border-bottom-color: #bbb;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -webkit-transition: 0.1s linear all;
    -moz-transition: 0.1s linear all;
    transition: 0.1s linear all;
}

a.btn:hover {
  background-position: 0 -15px;
  color: #333;
  text-decoration: none;
}

span.btn-icon { display:block; position:absolute; height:16px; width:16px; overflow:hidden; text-indent:-234324px; top:6px; right:5px; }
  .ic-right     { background:transparent url(../images/bg_category-filter-controls.png) -32px -41px no-repeat; }
  .ic-down      { background:transparent url(../images/bg_category-filter-controls.png) -32px -55px no-repeat; }
  .ic-question  { background:transparent url(../images/bg_category-filter-controls.png) 0px -49px no-repeat; }
  
  /* active state */
  .active-toggle .ic-right { background:transparent url(../images/bg_category-filter-controls.png) -32px -55px no-repeat; }
  